package com.example.hello.service;

import com.example.hello.entity.Company;
import com.example.hello.entity.Factory;
import com.example.hello.entity.Device;
import com.github.pagehelper.PageInfo;

public interface AssetService {
    PageInfo<Company> getCompanies(int page, int limit);
    PageInfo<Factory> getFactories(int page, int limit, Integer companyId);
    PageInfo<Device> getDevices(int page, int limit, Integer factoryId);
} 